
import request from '@/utils/request'

// 首页列表
export function homeList() {
    return request.get(`/prod/prodListByTagId?tagId=3&size=6`)
}
// 列表标题
export function homeListTitle() {
    return request.get("/prod/tag/prodTagList")
}
// 列表详情
export function homeListDetails(prodId) {
    return request.get(`/prod/prodInfo/prodId=${prodId}`)
}

// 新品推荐数据
// 限时特惠数据
// 每日疯抢数据
export function homeClassNav(name) {
    return request.get(`/prod/${name}?current=1&size=10`)
}


export function gettopNoticeList() {
	return request.get(`/shop/notice/topNoticeList`);
}

export function gettopNoticeDetail(payload) {
	return request.get(`/shop/notice/info/${payload}`);
}